//
//  GaoLoggerFilter.h
//
//  Created by GikkiAres on 2020/3/31.
//  Copyright © 2020 GikkiAres. All rights reserved.
//


//说明日志过滤规则.
//用来说明一个日志事件,是忽略,还是输出.

#import <Foundation/Foundation.h>

//等级越高的值越大.
typedef NS_ENUM(NSUInteger, JsLogLevel) {
	JsLogLevelVerbose,
    JsLogLevelInfo,
	
    JsLogLevelDebug,
    JsLogLevelWarn,
	
    JsLogLevelError,
    JsLogLevelFatal,
	
	JsLogLevelNone,
};

typedef NS_OPTIONS(NSUInteger, JsLogTargetMask) {
	JsLogTargetMaskConsole = 1 << 0,
	JsLogTargetMaskFile = 1 << 1,
	JsLogTargetMaskAll = NSUIntegerMax
};
